/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.QuyDinhDAO;
import POJO.QuyDinhPOJO;


/**
 *
 * @author MinhHieu
 */
public class QuyDinhBUS {
    public static QuyDinhPOJO select(){
        QuyDinhPOJO list = QuyDinhDAO.selectAll();
        return list;
    }
    public static boolean sua(int tmin,int tmax,int sl,float diemchuan)
    {
        boolean kq = QuyDinhDAO.update(tmin, tmax, sl, diemchuan);
        return kq;
    }
}
